<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: YanHilin
  Date: 2020/5/11
  Time: 13:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>查看个人基本信息</title>
    <base href="http://localhost:8080/onlineflower/">
    <%@include file="/page/comment/head.jsp"%>
    <link rel="stylesheet" type="text/css" href="static/css/form.css">
<style type="text/css">
    #showMess{
        margin:auto;
    }
</style>
</head>
<body>
<%@include file="/page/user/head_nav.jsp"%>

        <div id="showMess" class="card" style="width: 65rem;font-size: 20px">
            <div class="card-header">
                我的基本信息
            </div>
            <ul class="list-group list-group-flush">
                <li class="list-group-item">用户编号  ${sessionScope.user.userid}</li>
                <li class="list-group-item">昵称 ${sessionScope.user.pet_name} </li>
                <li class="list-group-item">姓名  ${sessionScope.user.relname}</li>
                <li class="list-group-item">性别
                    <c:if test="${sessionScope.user.sex==0}">
                    男
                    </c:if>
                    <c:if test="${sessionScope.user.sex==1}">
                        女
                    </c:if>
                </li>
                <li class="list-group-item">联系方式  ${sessionScope.user.telephone}</li>
                <li class="list-group-item">邮政编码  ${sessionScope.user.postal_code}</li>
                <li class="list-group-item">邮寄地址  ${sessionScope.user.address}</li>
            </ul>
        </div>
</body>
</html>
